package postgres

import (
	"context"
	"quipus/internal/database/model"

	_ "github.com/jackc/pgx/v5/stdlib"
	_ "github.com/joho/godotenv/autoload"
)

func (p *PGDB) CreateInbox(ctx context.Context, create *model.Inbox) error {
	p.query()
	qdo := q.WithContext(ctx)
	err := qdo.Inbox.Create(create)
	if err != nil {
		return err
	}

	return nil
}
